Application.CurrentThread Property
Read-Only
Syntax
CurrentThread as Thread
Obtains the currently running Thread. If the current Thread is the main thread (the thread that REALbasic creates and manages itself to run the application), CurrentThread returns Nil.